<template>
  <div class="count">
    <h2 v-bgColor="'skyblue'" v-red>count组件: {{ count | add$ }}</h2>
    <button v-bgColor="'purple'" @click="count++">累加</button>
    <p v-red>hahaha</p>
  </div>
</template>

<script>
export default {
  name: "Count",
  data() {
    return {
      count: 0,
    };
  },
};
</script>
